cmd = 'P:\\OMGL2\\iut-acy-info-omgl2-g242\\trunk\\Seance6\\DepotDossierEtudiant\\scripts\\compilPlanning.bat'
openApp(cmd)

click(Pattern("AjoutClient.png").similar(0.96))
click(Pattern("AjoutClient.png").similar(0.74))
click(Pattern("AjoutClient.png").similar(0.74))
click(Pattern("AjoutClient.png").similar(0.74))
wait(1)
type(Key.F4,KEY_ALT)

click("1383924072716.png")
click("1383924072716.png")
click("1383924072716.png")
click("1383924072716.png")
wait(1)

type(Key.F4,KEY_ALT)
wait(1)
type(Key.F4,KEY_ALT)